package com.smart.sso.server.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.smart.mvc.dao.mybatis.Dao;
import com.smart.sso.server.model.RoleApp;

public interface RoleAppDao extends Dao<RoleApp, Integer>{
	
	public List<RoleApp> findByRoleAppId(@Param("roleId") Integer roleId , @Param("appId") Integer appId);
	
	public int deleteByRoleIds(@Param("idList") List<Integer> idList);
	
	public int deleteByAppIds(@Param("idList") List<Integer> idList);
}
